package com.zqq.base

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData

open class BaseViewModel(application: Application):AndroidViewModel(application) {

    var isNetConnected = MutableLiveData<Boolean>(true) //网络连接状态 是否连接
    var requestState = MutableLiveData<Int>() //请求进度状态 0获取数据成功或无请求 1开始请求
    var loadingMsg = MutableLiveData<String>() //加载框显示文字

}